<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<c:set var="contextPath" value="<%=request.getContextPath()%>"></c:set>
<c:forEach var="division" varStatus="vs" items="${divisions}">
	<c:choose>
		<c:when test="${division.id == curDivision.id}">
			<c:set value="tab_cur" var="tabClass"></c:set>
		</c:when>
		<c:otherwise>
			<c:set value="tab_nor" var="tabClass"></c:set>
		</c:otherwise>
	</c:choose>
	<div class="${tabClass}" onclick="window.location.href='${contextPath}/viewArticle?division.id=${division.id}'"><h4>${division.divName}</h4></div>
</c:forEach>
